// 引入封装好的request
import request  from "@/utils/request";
// 获取所有用户量
export const getUsersNum = (data)=>{
    return request({
        url:'/dataEcahrts/getusersnum',
        method:'GET',
        data
    })
}
// 获取所有博客量
export const getBlogsNum = (data)=>{
    return request({
        url:'/dataEcahrts/getblogsnum',
        method:'GET',
        data
    })
}
// 获取所有访问量
export const getVisitorNum = (data)=>{
    return request({
        url:'/dataEcahrts/getvisitornum',
        method:'GET',
        data
    })
}
// 获取所有公告
export const getNotices = (data)=>{
    return request({
        url:'/dataEcahrts/getnotices',
        method:'GET',
        data
    })
}
// 获取用户占比
export const getUsersMix = (data)=>{
    return request({
        url:'/dataEcahrts/getusersmix',
        method:'GET',
        data
    })
}

